package com.ybkj.daijia.server.model;

import java.math.BigDecimal;

/**
 * 梯度收费详细
 *
 * @author Shine
 */
public class ChargeStartDistance extends Base {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private Double startdistance;// 起始

    private Double distance;// distance公里内收费money元

    private BigDecimal money;// 加收金额

    private Long chargeStartTimeId;

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Double getStartdistance() {
        return startdistance;
    }

    public void setStartdistance(Double startdistance) {
        this.startdistance = startdistance;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Long getChargeStartTimeId() {
        return chargeStartTimeId;
    }

    public void setChargeStartTimeId(Long chargeStartTimeId) {
        this.chargeStartTimeId = chargeStartTimeId;
    }

    public boolean isEmpty() {

        if (null == distance || null == money) {
            return true;
        }
        return false;
    }

    @Override
    public String toString() {
        return "ChargeStartDistance{" +
            "startdistance=" + startdistance +
            ", distance=" + distance +
            ", money=" + money +
            ", chargeStartTimeId=" + chargeStartTimeId +
            '}';
    }
}
